<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      ICU-65.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gspell.html" title="gspell-1.8.3">Prev</a>
          <p>
            gspell-1.8.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="jansson.html" title="Jansson-2.12">Next</a>
          <p>
            Jansson-2.12
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="icu" name="icu"></a>ICU-65.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to ICU
        </h2>
        <p>
          The <span class="application">International Components for
          Unicode</span> (ICU) package is a mature, widely used set of C/C++
          libraries providing Unicode and Globalization support for software
          applications. <span class="application">ICU</span> is widely
          portable and gives applications the same results on all platforms.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-src.tgz">
                http://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-src.tgz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: d1ff436e26cabcb28e6cb383d32d1339
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 23 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 306 MB (add 34 MB for tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.8 SBU (Using parallelism=4; add 1.9
                SBU for tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          ICU Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="llvm.html" title="LLVM-9.0.1">LLVM-9.0.1</a>
          (with Clang), and <a class="xref" href="doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> (for documentation)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/icu">http://wiki.linuxfromscratch.org/blfs/wiki/icu</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of ICU
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If <span class="command"><strong>clang++</strong></span> is
            available, it will be used in the mistaken belief that
            <span class="command"><strong>g++</strong></span> might not
            support C++11, even though <span class=
            "command"><strong>configure</strong></span> has tested for that.
            If using <span class="command"><strong>g++</strong></span> there
            will be an unnecessary warning at the end of <span class=
            "command"><strong>configure</strong></span>. Building with
            <span class="command"><strong>g++</strong></span> also takes
            longer than the estimated SBU shown.
          </p>
        </div>
        <p>
          Install <span class="application">ICU</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">cd source                                    &amp;&amp;

./configure --prefix=/usr                    &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">derb, escapesrc, genbrk, genccode,
              gencfu, gencmn, gencnval, gendict, gennorm2, genrb, gensprep,
              icu-config, icuinfo, icupkg, makeconv, pkgdata, and
              uconv</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libicudata.so, libicui18n.so,
              libicuio.so, libicutest.so, libicutu.so, and libicuuc.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/unicode, /usr/lib/icu, and
              /usr/share/icu</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="derb" name="derb"></a><span class=
                    "term"><span class=
                    "command"><strong>derb</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    disassembles a resource bundle.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="escapesrc" name="escapesrc"></a><span class=
                    "term"><span class=
                    "command"><strong>escapesrc</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts <span class="quote">&ldquo;<span class=
                    "quote">\u</span>&rdquo;</span> escaped characters into
                    unicode characters.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="genbrk" name="genbrk"></a><span class=
                    "term"><span class=
                    "command"><strong>genbrk</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles ICU break iteration rules source files into
                    binary data files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="genccode" name="genccode"></a><span class=
                    "term"><span class=
                    "command"><strong>genccode</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    generates C or platform specific assembly code from an
                    ICU data file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gencfu" name="gencfu"></a><span class=
                    "term"><span class=
                    "command"><strong>gencfu</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    reads in Unicode confusable character definitions and
                    writes out the binary data.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gencmn" name="gencmn"></a><span class=
                    "term"><span class=
                    "command"><strong>gencmn</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    generates an ICU memory-mappable data file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gencnval" name="gencnval"></a><span class=
                    "term"><span class=
                    "command"><strong>gencnval</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles the converter's aliases file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gendict" name="gendict"></a><span class=
                    "term"><span class=
                    "command"><strong>gendict</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles word lists into ICU string trie dictionaries.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gennorm2" name="gennorm2"></a><span class=
                    "term"><span class=
                    "command"><strong>gennorm2</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    builds binary data files with Unicode normalization data.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="genrb" name="genrb"></a><span class=
                    "term"><span class=
                    "command"><strong>genrb</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles a resource bundle.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gensprep" name="gensprep"></a><span class=
                    "term"><span class=
                    "command"><strong>gensprep</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles StringPrep data from filtered RFC 3454 files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="icu-config" name="icu-config"></a><span class=
                    "term"><span class=
                    "command"><strong>icu-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    outputs ICU build options.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="icuinfo" name="icuinfo"></a><span class=
                    "term"><span class=
                    "command"><strong>icuinfo</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    outputs configuration information about the current ICU.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="icupkg" name="icupkg"></a><span class=
                    "term"><span class=
                    "command"><strong>icupkg</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    extracts or modifies an ICU .dat archive.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="makeconv" name="makeconv"></a><span class=
                    "term"><span class=
                    "command"><strong>makeconv</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compiles a converter table.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="pkgdata" name="pkgdata"></a><span class=
                    "term"><span class=
                    "command"><strong>pkgdata</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    packages data for use by ICU.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="uconv" name="uconv"></a><span class=
                    "term"><span class=
                    "command"><strong>uconv</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts data from one encoding to another.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicudata" name="libicudata"></a><span class=
                    "term"><code class="filename">libicudata.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the data library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicui18n" name="libicui18n"></a><span class=
                    "term"><code class="filename">libicui18n.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the internationalization (i18n) library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicuio" name="libicuio"></a><span class=
                    "term"><code class="filename">libicuio.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the ICU I/O (unicode stdio) library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicutest" name="libicutest"></a><span class=
                    "term"><code class="filename">libicutest.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the test library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicutu" name="libicutu"></a><span class=
                    "term"><code class="filename">libicutu.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the tool utility library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libicuuc" name="libicuuc"></a><span class=
                    "term"><code class="filename">libicuuc.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the common library.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-15 20:23:35 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gspell.html" title="gspell-1.8.3">Prev</a>
          <p>
            gspell-1.8.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="jansson.html" title="Jansson-2.12">Next</a>
          <p>
            Jansson-2.12
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
